﻿<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~site/_catalogs/masterpage/ticketing.master" Language="C#" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%-- The markup and script in the following Content element will be placed in the <head> of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <meta name="WebPartPageExpansion" content="full" />
    <!-- Add your CSS styles to the following file -->
    <link rel="Stylesheet" type="text/css" href="../Content/TicketingSystem.css" />
</asp:Content>

<%-- The markup in the following Content element will be placed in the TitleArea of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    New IT Support Tickets
</asp:Content>

<%-- The markup and script in the following Content element will be placed in the <body> of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <asp:ScriptManagerProxy runat="server">
        <Scripts>
            <asp:ScriptReference Path="../Scripts/Pages/Default/Default.js" />
        </Scripts>
    </asp:ScriptManagerProxy>

    <div class="tickets-page-container">

            
     
             <!-- DataFormWebPart containing tickets -->
            <WebPartPages:DataFormWebPart runat="server" AsyncRefresh="true"  SuppressWebPartChrome="true" IsVisible="true" FrameState="Normal"  FrameType="None" ID="NewTicketsView" EnableViewState="true">
                <DataSources>
                    <SharePoint:SPDataSource runat="server" DataSourceMode="List" SelectCommand="&lt;View&gt;&lt;/View&gt;" UseInternalName="True" ID="MyDataSource">
                        <SelectParameters>
                            <asp:parameter DefaultValue="Support Tickets" Name="ListName" />
                        </SelectParameters>
                    </SharePoint:SPDataSource>
                </DataSources>
                <XslLink>../Content/XSLT/NewTickets.xslt</XslLink>
                <ParameterBindings>

                </ParameterBindings>
            </WebPartPages:DataFormWebPart>
   
    </div>



</asp:Content>
